home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-16 / dos5tch.zip / TOGGLE.DOC < prev    next >
Text File  |  1988-05-31  |  2KB  |  49 lines

  1.  
  2. TOGGLE
  3. Command
  4.  
  5. Jeff Prosise                 1988 No. 10 (Utilities)
  6.  
  7.  
  8. Purpose:    Provides a software toggle and an on-screen
  9. report of the states of the CapsLock, NumLock, and ScrollLock
  10. keys.
  11.  
  12. Format:    TOGGLE [+c|-c] [+n|-n] [+s|-s]
  13.  
  14. Remarks:    Entered without any parameters, TOGGLE simply
  15. reports the current status of the three toggle keys.  The c
  16. (CapsLock), n (NumLock), and s (ScrollLock) parameters may be
  17. added on the TOGGLE command line to change the state of the
  18. specified key(s).  A + (plus) sign preceding a parameter toggles
  19. that key on; a - (minus) sign forces that key off.  The optional
  20. parameters may be entered singly or in any combination and order,
  21. and in upper or lower case. Requested parameter changes are
  22. processed before TOGGLE issues its on-screen report.  Entering
  23. TOGGLE with any unrecognized parameter (/H or ?, for example)
  24. produces an error message that displays the correct syntax.
  25.  
  26.  
  27.     With 83-key PC and XT keyboards, which lack status LEDs,
  28. TOGGLE eliminates the need to determine the states of the
  29. CapsLock, NumLock, and ScrollLock keys by trial and error.
  30.  
  31.     Owners of "compatible" 84-key keyboards often find that
  32. their status LEDs get out-of-sync with the true states of the
  33. toggle keys. This condition arises when an LED-equipped keyboard
  34. is matched with an XT BIOS design, which lacks provisions for
  35. updating the indicators when a program rather than a keystroke
  36. changes the toggle-key state.  TOGGLE can be used to restore the
  37. synchronization, which will be retained as long as only
  38. keystrokes are used to change the toggle keys' status.
  39.  
  40.     The BIOS interface for the current 101-key (Enhanced)
  41. keyboard causes the machine to boot up with the NumLock state on. 
  42. All previous keyboards have provided the opposite default
  43. condition.  Including the line 
  44.  
  45.         TOGGLE -n
  46.  
  47.     in the AUTOEXEC.BAT file will cause the NumLock key to
  48. boot up in the off state when using the Enhanced keyboard.
  49.